﻿<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<div id="wrap">
  <!--     主体从这开始    -->
  <div class="container">
    <h2><span>今日进店</span></h2>
    
      <div class="receipt_result receipt_result4" align="center" style="margin-top:5px;">
    	<p>
    		<span>今日进店统计 (${user.companyName}) </span>
    	</p>
    	<p>
	   		进店总人数: ${allEnterCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		总试穿人数：${allTryonCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		总成交人数：${allTradeCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		总试穿率：${tryonPre}%
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		总成交率：${tradePre}%
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		总成交金额：${allTradeAmount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		总客单价：${amountPre}
   		</p>
   		<%--<p>
	   		新顾客进店人数:  ${allNewEnterCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		新顾客试穿人数：${allNewTryonCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		新顾客成交人数：${allNewTradeCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		新顾客试穿率：${tryonNewPre}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		新顾客成交率：${tradeNewPre}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		新顾客成交金额：${allNewTradeAmount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		新顾客客单价：${amountNewPre}
   		</p>
   		<p>
	   		老顾客进店人数: ${allOldEnterCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		老顾客试穿人数：${allOldTryonCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		老顾客成交人数：${allOldTradeCount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		老顾客试穿率：${tryonOldPre}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		老顾客成交率：${tradeOldPre}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		老顾客成交金额：${allOldTradeAmount}
	   		&nbsp;&nbsp;&nbsp;&nbsp;
	   		老顾客客单价：${amountOldPre}
   		</p>
    --%></div>
   <div class="g_describe">
	 	<span class="g_fr">
         	<a href="${ctx}/shopper/add" class="alink_blue">添加进店记录</a>
        </span>
     </div>
    <table class="global_vtable" cellpadding="0" cellspacing="0">
      <tr>
        <th>进店时间</th>
        <th>进店人数</th>
        <th>试穿人数</th>
        <th>成交人数</th>
        <th>接待人</th>
        <th>新/老顾客</th>
        <th>经营/自然进店</th>
        <th>进店结果</th>
        <th>导致结果原因分析</th>
        <th>成交金额</th>
      </tr>
      <c:forEach var="shopper" items="${shoppers}">
      	<tr>
       	 	<td><fmt:formatDate value="${shopper.enterDate}" pattern="yyyy-MM-dd HH:mm:ss"/> </td>
        	<td>${shopper.enterCount}</td>
        	<td>${shopper.tryonCount}</td>
        	<td>${shopper.tradeCount}</td>
        	<td>${shopper.receptionistId}</td>
        	<td>${shopper.intoType}</td>
        	<td>${shopper.newOrOld}</td>
        	<td>${shopper.result}</td>
        	<td>${shopper.reason}</td>
        	<td>${shopper.tradeAmount}</td>
      	</tr>
      </c:forEach>
    </table>
  </div>
  <!--     主体 end    -->
  <!-- 统计代码 begin-->
  <!--统计代码 end-->
</div>
</body>
</html>
